package com.niiwoo.civet.account.service.dubbo;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.niiwoo.civet.account.dto.request.CheckFileConfirmRequestDTO;
import com.niiwoo.civet.account.dto.response.CheckFileConfirmResponseDTO;
import com.niiwoo.civet.account.service.CheckFileConfirmDubboService;
import com.niiwoo.civet.account.service.local.check.AccountCheckingConfirmService;

@Service(version = "1.0.0")
public class CheckFileConfirmDubboServiceImpl implements CheckFileConfirmDubboService {

    @Autowired
    private AccountCheckingConfirmService accountCheckingConfirmService;

    @Override
    public CheckFileConfirmResponseDTO checkFileConfirm(CheckFileConfirmRequestDTO checkFileConfirmRequestDTO) {
        return accountCheckingConfirmService.checkFileConfirm(checkFileConfirmRequestDTO);
    }

    @Override
    public CheckFileConfirmResponseDTO checkFileConfirmForFileDate(String fileDate) {
        return accountCheckingConfirmService.checkFileConfirmForFileDate(fileDate);
    }
}
